import { ys, ysUtils } from "ys-ts";

import Home from "../../components/pages/sql/Home.vue";
export let nameSqlHome: string;
export let cfgSqlHome: ysUtils.YsRouteRecord;

export function initSql() {
  console.log(`[router/sql] 初始化！`);

  nameSqlHome = "sqlHome";
  cfgSqlHome = ys.getYsRouterRecord(nameSqlHome, {
    path: "sql",
    name: nameSqlHome,
    component: Home,
  });
}
